package com.smedi.ismedi.authoritymanagement.api.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: xulinjun
 * @Date: 2021-7-2 10:16
 */
@Data
@Accessors(chain = true)
public class ForgetPasswordRequest implements Serializable {
    @ApiModelProperty(value = "手机号或用户名", required = true)
    @NotBlank(message = "手机号或用户名为空！")
    private String callAccount;

    @ApiModelProperty(value = "验证码")
    private String verificationCode;

    @ApiModelProperty(value = "新密码")
    private String newPassword;
}
